package com.sskj.base.utils;

import android.content.Context;
import android.hardware.input.InputManager;
import android.view.View;
import android.view.inputmethod.InputMethodManager;

public class InputManagerUtil {

    public static void hideSoftInput(Context context,View view){
        InputMethodManager inputManager= (InputMethodManager) context.getSystemService(Context.INPUT_METHOD_SERVICE);
        inputManager.hideSoftInputFromWindow(view.getWindowToken(),0);
    }

}
